<?php
/**
 * Created by PhpStorm.
 * User: wangjie
 * Date: 2018/9/21
 * Time: 14:44
 */

namespace api\controllers;

use common\services\CryptoService;
use Yii;

class IndexController extends BaseController
{
    public function actionIndex()
    {
        $str = trim($this->request->post('str', ''));

        $a = CryptoService::testWord($str);
var_dump($a);
    }
}